package com.cssy.xxkj.basic.dao;

import java.util.List;

import org.springframework.dao.DataAccessException;

import com.cssy.xxkj.basic.entity.BasicStorageInfoTypeTestDO;

/**
 * 数据访问对象接口
 * @since 2014-09-04
 */
public interface BasicStorageInfoTypeTestDAO extends BasicBizDAO<BasicStorageInfoTypeTestDO>{

    /**
     * 插入数据
     * @param basicStorageinfoTypeTestDO
     * @return 插入数据的主键
     */
    public void insertBasicStorageinfoTypeTestDO(BasicStorageInfoTypeTestDO basicStorageinfoTypeTestDO) throws DataAccessException;

    /**
     * 统计记录数
     * @param basicStorageinfoTypeTestDO
     * @return 查出的记录数
     */
    public Integer countBasicStorageinfoTypeTestDOByExample(BasicStorageInfoTypeTestDO basicStorageinfoTypeTestDO) throws DataAccessException;

    /**
     * 获取对象列表
     * @param basicStorageinfoTypeTestDO
     * @return 对象列表
     */
    public List<BasicStorageInfoTypeTestDO> findListByExample(BasicStorageInfoTypeTestDO basicStorageinfoTypeTestDO) throws DataAccessException;

    /**
     * 更新记录
     * @param basicStorageinfoTypeTestDO
     * @return 受影响的行数
     */
    public Integer updateBasicStorageinfoTypeTestDO(BasicStorageInfoTypeTestDO basicStorageinfoTypeTestDO) throws DataAccessException;

    /**
     * 根据主键获取basicStorageinfoTypeTestDO
     * @param id
     * @return basicStorageinfoTypeTestDO
     */
    public BasicStorageInfoTypeTestDO findBasicStorageinfoTypeTestDOByPrimaryKey(String id) throws DataAccessException;

    /**
     * 删除记录
     * @param id
     * @return 受影响的行数
     */
    public Integer deleteBasicStorageinfoTypeTestDOByPrimaryKey(String id) throws DataAccessException;
}